//
//  LZDateFormatterManager.h
//  laziz_Consumer
//
//  Created by xbn_iMac on 2016/11/29.
//  Copyright © 2016年 XBN. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface LZDateFormatterManager : NSObject

+(instancetype)shareInstance;

- (NSString *)stringFromDateNormalHaveLineddMMyyyy:(NSDate*)date;

- (NSString *)stringFromStringNormalHaveLineHHmm:(NSString*)aString;

- (NSString *)stringFromStringNormalHaveLineyyyyMMdd:(NSString*)aString;

- (NSString *)stringFromStringNormalHaveLineyyyyMMddHHmmss:(NSString*)aString;

- (NSString *)stringFromCustomFormat:(NSString*)format andDate:(NSDate*)date;

- (NSDate *)dateFromCustomFormat:(NSString*)format andDate:(NSString*)date;

- (NSString *)stringFromDoubleTimestampHavePointyyyyMMdd:(NSTimeInterval)timestamp;

- (NSString *)stringFromDoubleTimestampHaveLineyyyyMMdd:(NSTimeInterval)timestamp;

- (NSTimeInterval)returnCurrentTimeStamp;
//返回格式 yyyy_mm_dd
- (NSString *)stringFromDoubleTimestampToyyyyLineMMLinedd:(NSTimeInterval)timestamp;

@end
